package org.zfes.snowier.zbss.xzy.biz.complaint.service;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import org.zfes.snowier.core.data.DataSet;
import org.zfes.snowier.core.data.SelectVo;
import org.zfes.snowier.zbss.xzy.biz.complaint.model.Complaint;
import org.zfes.snowier.zbss.xzy.biz.dto.ComplaintDto;
import org.zfes.snowier.zbss.xzy.complain.ComplaintCreateDto;
public interface IComplaintService{

	 Optional<ComplaintDto> loadComplaintById(Long id);
	
	 void createComplaint(ComplaintCreateDto complaintDto);
	
	 void updateComplaint(Complaint complaint);

	 void deleteComplaint(Long id);
	
	 DataSet loadComplaintDataSet(Map<String, Object> params);
	 

 	void setComplaintStatus(Long id, Byte status);
 	
 	void userSetComplaintStatus(Long userId,Long id, Byte status);
 	
    List<SelectVo> loadComplaintSelectVo(String keywords);

	Optional<Complaint> loadById(Long id);


    
}